package com.liner.homework.second;

public class StaticMethod {
    int a;
    static int b;

    static void show(){
        System.out.println(new StaticMethod().a);
        //静态变量不依赖对象，可直接通过类名访问
        System.out.println(b);
    }

}
